<div id="wrap"><h2><img src="<?php echo base_url();?>asset/images/list.png" />  Lista De Productos en DB</h2><br />
		<div id="txtHint"></div>
			
		<table border="0" cellspacing="0" cellpadding="0" width="99%" id="resultTable">
  <thead>
<tr>
<th>UPC</th>
<th>Description</th>
<th>Model</th>
<th>MC</th>
<th>Volume (per Box)</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php if(isset($records)) : foreach($records as $row) : ?>
 <?php 
 echo "<tr>";
 echo "<td>".$row->upc."</td>";
  echo "<td>".$row->desc."</td>";
   echo "<td>".$row->model."</td>";
    echo "<td>".$row->product_MC."</td>";
    echo "<td>".$row->product_H*$row->product_W*$row->product_L." cm^3 </td>";
    echo "<td>";
    echo anchor("start/edit_prod/$row->id", "Add to container");
    echo " | "; 
    echo anchor("start/del_prod/$row->id", "Delete");
    echo "</td>"; 
 echo "</tr>"; 
 ?>
 <?php endforeach; ?>
 <?php else : ?>	
	<tr>No records were returned.</tr>
	<?php endif; ?>
  </tbody>
</table></div>